using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN LopTinChiEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:24/02/2012 20:02:25</para>
	/// <para>Class Name: LopTinChiEntity</para>
	/// <para>Description: ClassLopTinChiEntity store data of table LopTinChi</para>
	///</summary>

	[DataContract]
	public partial class LopTinChiEntity{


		private bool _InternalChangedIsNullLopTinChi_ID=true;
		private bool _IsNullLopTinChi_ID=true;
		private bool _InternalChangedIsNullMaLop=true;
		private bool _IsNullMaLop=true;
		private bool _InternalChangedIsNullNamHoc_ID=true;
		private bool _IsNullNamHoc_ID=true;
		private bool _InternalChangedIsNullHocKy_ID=true;
		private bool _IsNullHocKy_ID=true;
		private bool _InternalChangedIsNullSoSVToiDa=true;
		private bool _IsNullSoSVToiDa=true;
		private bool _InternalChangedIsNullMonHoc_ID=true;
		private bool _IsNullMonHoc_ID=true;
		private bool _InternalChangedIsNullTrangThai=true;
		private bool _IsNullTrangThai=true;
		private bool _InternalChangedIsNullLop_ID=true;
		private bool _IsNullLop_ID=true;
		private int _LopTinChi_ID;
		private string _MaLop;
		private int _NamHoc_ID;
		private int _HocKy_ID;
		private int _SoSVToiDa;
		private int _MonHoc_ID;
		private Byte _TrangThai;
		private int _Lop_ID;
		[DataMember]
		public bool IsNullLopTinChi_ID{
			get{return _IsNullLopTinChi_ID;}
			set{if(!_InternalChangedIsNullLopTinChi_ID)_IsNullLopTinChi_ID=value;}
		}
		[DataMember]
		public bool IsNullMaLop{
			get{return _IsNullMaLop;}
			set{if(!_InternalChangedIsNullMaLop)_IsNullMaLop=value;}
		}
		[DataMember]
		public bool IsNullNamHoc_ID{
			get{return _IsNullNamHoc_ID;}
			set{if(!_InternalChangedIsNullNamHoc_ID)_IsNullNamHoc_ID=value;}
		}
		[DataMember]
		public bool IsNullHocKy_ID{
			get{return _IsNullHocKy_ID;}
			set{if(!_InternalChangedIsNullHocKy_ID)_IsNullHocKy_ID=value;}
		}
		[DataMember]
		public bool IsNullSoSVToiDa{
			get{return _IsNullSoSVToiDa;}
			set{if(!_InternalChangedIsNullSoSVToiDa)_IsNullSoSVToiDa=value;}
		}
		[DataMember]
		public bool IsNullMonHoc_ID{
			get{return _IsNullMonHoc_ID;}
			set{if(!_InternalChangedIsNullMonHoc_ID)_IsNullMonHoc_ID=value;}
		}
		[DataMember]
		public bool IsNullTrangThai{
			get{return _IsNullTrangThai;}
			set{if(!_InternalChangedIsNullTrangThai)_IsNullTrangThai=value;}
		}
		[DataMember]
		public bool IsNullLop_ID{
			get{return _IsNullLop_ID;}
			set{if(!_InternalChangedIsNullLop_ID)_IsNullLop_ID=value;}
		}
		[DataMember]
		public int LopTinChi_ID{
			get{return _LopTinChi_ID;}
			set{
				_LopTinChi_ID=value;
				if(_LopTinChi_ID!=null){
					_IsNullLopTinChi_ID=false;
					_InternalChangedIsNullLopTinChi_ID=true;
				}
			}
		}
		[DataMember]
		public string MaLop{
			get{return _MaLop;}
			set{
				_MaLop=value;
				if(_MaLop!=null){
					_IsNullMaLop=false;
					_InternalChangedIsNullMaLop=true;
				}
			}
		}
		[DataMember]
		public int NamHoc_ID{
			get{return _NamHoc_ID;}
			set{
				_NamHoc_ID=value;
				if(_NamHoc_ID!=null){
					_IsNullNamHoc_ID=false;
					_InternalChangedIsNullNamHoc_ID=true;
				}
			}
		}
		[DataMember]
		public int HocKy_ID{
			get{return _HocKy_ID;}
			set{
				_HocKy_ID=value;
				if(_HocKy_ID!=null){
					_IsNullHocKy_ID=false;
					_InternalChangedIsNullHocKy_ID=true;
				}
			}
		}
		[DataMember]
		public int SoSVToiDa{
			get{return _SoSVToiDa;}
			set{
				_SoSVToiDa=value;
				if(_SoSVToiDa!=null){
					_IsNullSoSVToiDa=false;
					_InternalChangedIsNullSoSVToiDa=true;
				}
			}
		}
		[DataMember]
		public int MonHoc_ID{
			get{return _MonHoc_ID;}
			set{
				_MonHoc_ID=value;
				if(_MonHoc_ID!=null){
					_IsNullMonHoc_ID=false;
					_InternalChangedIsNullMonHoc_ID=true;
				}
			}
		}
		[DataMember]
		public Byte TrangThai{
			get{return _TrangThai;}
			set{
				_TrangThai=value;
				if(_TrangThai!=null){
					_IsNullTrangThai=false;
					_InternalChangedIsNullTrangThai=true;
				}
			}
		}
		[DataMember]
		public int Lop_ID{
			get{return _Lop_ID;}
			set{
				_Lop_ID=value;
				if(_Lop_ID!=null){
					_IsNullLop_ID=false;
					_InternalChangedIsNullLop_ID=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END LopTinChiEntityBase*****************************************/
	/*****************************************************************************************************/
}

